package cn.org.xuanzp.examples.v2.client.one;

import cn.org.xuanzp.common.command.Payload;
import cn.org.xuanzp.common.command.impl.MessageCommand;

/**
 * @Classname MyMessageCommand
 * @Description TODO
 * @Version 1.0.0
 * @Date 2024/9/24 23:25
 * @Created by xuanzp
 */
public class MyMessageCommand extends MessageCommand {

    private Payload payload ;

    public void setPayload(Payload payload) {
        this.payload = payload;
    }

    /***
     * 请求载荷
     * @return
     */
    @Override
    public Payload getPayload() {
        return payload;
    }
}
